package com.jxc.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Submodule entity. @author MyEclipse Persistence Tools
 */

public class Submodule implements java.io.Serializable {

	// Fields

	private Integer id;
	private Module module;
	private String name;
	private String url;
	private String img;
	private Set staffandmodules = new HashSet(0);
	private Set moduleandsubs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Submodule() {
	}

	/** full constructor */
	public Submodule(Module module, String name, String url, String img,
			Set staffandmodules, Set moduleandsubs) {
		this.module = module;
		this.name = name;
		this.url = url;
		this.img = img;
		this.staffandmodules = staffandmodules;
		this.moduleandsubs = moduleandsubs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Module getModule() {
		return this.module;
	}

	public void setModule(Module module) {
		this.module = module;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getImg() {
		return this.img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public Set getStaffandmodules() {
		return this.staffandmodules;
	}

	public void setStaffandmodules(Set staffandmodules) {
		this.staffandmodules = staffandmodules;
	}

	public Set getModuleandsubs() {
		return this.moduleandsubs;
	}

	public void setModuleandsubs(Set moduleandsubs) {
		this.moduleandsubs = moduleandsubs;
	}

}